package com.foreverwin.mes.lims.model;

import java.io.Serializable;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 
 * </p>
 *
 * @author Levy
 * @since 2020-03-26
 */
public class InspectExecDetail extends Model<InspectExecDetail> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
   @TableId(value = "HANDLE", type = IdType.INPUT)
   private String handle;
    /**
     * 检验执行主键
     */
   @TableField("INSPECT_EXEC_BO")
   private String inspectExecBo;
    /**
     * 参数名称
     */
   @TableField("PARAM")
   private String param;
    /**
     * 参数数据类型
     */
   @TableField("DATA_TYPE")
   private String dataType;
    /**
     * 检验标准
     */
   @TableField("INSPECT_STANDARD")
   private String inspectStandard;
    /**
     * 样本数量
     */
   @TableField("SAMPLE_QTY")
   private BigDecimal sampleQty;
    /**
     * 样本单位
     */
   @TableField("SAMPLE_UNIT")
   private String sampleUnit;
    /**
     * 标准下限
     */
   @TableField("STANDARD_MIN")
   private BigDecimal standardMin;
    /**
     * 标准上限
     */
   @TableField("STANDARD_MAX")
   private BigDecimal standardMax;
    /**
     * 标准单位
     */
   @TableField("STANDARD_UNIT")
   private String standardUnit;
    /**
     * 检验参数
     */
   @TableField("INSPECT_PARAM")
   private String inspectParam;
    /**
     * 源数据数量
     */
   @TableField("SOURCE_DATA")
   private BigDecimal sourceData;
    /**
     * 检验结果
     */
   @TableField("INSPECT_RESULT")
   private String inspectResult;


   public String getHandle() {
      return handle;
   }

   public void setHandle(String handle) {
      this.handle = handle;
   }

   public String getInspectExecBo() {
      return inspectExecBo;
   }

   public void setInspectExecBo(String inspectExecBo) {
      this.inspectExecBo = inspectExecBo;
   }

   public String getParam() {
      return param;
   }

   public void setParam(String param) {
      this.param = param;
   }

   public String getDataType() {
      return dataType;
   }

   public void setDataType(String dataType) {
      this.dataType = dataType;
   }

   public String getInspectStandard() {
      return inspectStandard;
   }

   public void setInspectStandard(String inspectStandard) {
      this.inspectStandard = inspectStandard;
   }

   public BigDecimal getSampleQty() {
      return sampleQty;
   }

   public void setSampleQty(BigDecimal sampleQty) {
      this.sampleQty = sampleQty;
   }

   public String getSampleUnit() {
      return sampleUnit;
   }

   public void setSampleUnit(String sampleUnit) {
      this.sampleUnit = sampleUnit;
   }

   public BigDecimal getStandardMin() {
      return standardMin;
   }

   public void setStandardMin(BigDecimal standardMin) {
      this.standardMin = standardMin;
   }

   public BigDecimal getStandardMax() {
      return standardMax;
   }

   public void setStandardMax(BigDecimal standardMax) {
      this.standardMax = standardMax;
   }

   public String getStandardUnit() {
      return standardUnit;
   }

   public void setStandardUnit(String standardUnit) {
      this.standardUnit = standardUnit;
   }

   public String getInspectParam() {
      return inspectParam;
   }

   public void setInspectParam(String inspectParam) {
      this.inspectParam = inspectParam;
   }

   public BigDecimal getSourceData() {
      return sourceData;
   }

   public void setSourceData(BigDecimal sourceData) {
      this.sourceData = sourceData;
   }

   public String getInspectResult() {
      return inspectResult;
   }

   public void setInspectResult(String inspectResult) {
      this.inspectResult = inspectResult;
   }

   public static final String HANDLE = "HANDLE";

   public static final String INSPECT_EXEC_BO = "INSPECT_EXEC_BO";

   public static final String PARAM = "PARAM";

   public static final String DATA_TYPE = "DATA_TYPE";

   public static final String INSPECT_STANDARD = "INSPECT_STANDARD";

   public static final String SAMPLE_QTY = "SAMPLE_QTY";

   public static final String SAMPLE_UNIT = "SAMPLE_UNIT";

   public static final String STANDARD_MIN = "STANDARD_MIN";

   public static final String STANDARD_MAX = "STANDARD_MAX";

   public static final String STANDARD_UNIT = "STANDARD_UNIT";

   public static final String INSPECT_PARAM = "INSPECT_PARAM";

   public static final String SOURCE_DATA = "SOURCE_DATA";

   public static final String INSPECT_RESULT = "INSPECT_RESULT";

   @Override
   protected Serializable pkVal() {
      return this.handle;
   }

   @Override
   public String toString() {
      return "InspectExecDetail{" +
         "handle = " + handle +
         ", inspectExecBo = " + inspectExecBo +
         ", param = " + param +
         ", dataType = " + dataType +
         ", inspectStandard = " + inspectStandard +
         ", sampleQty = " + sampleQty +
         ", sampleUnit = " + sampleUnit +
         ", standardMin = " + standardMin +
         ", standardMax = " + standardMax +
         ", standardUnit = " + standardUnit +
         ", inspectParam = " + inspectParam +
         ", sourceData = " + sourceData +
         ", inspectResult = " + inspectResult +
         "}";
   }
}